/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package be.ac.ua.comp.projectGPT.Main;

import be.ac.ua.comp.projectGPT.Jobs.implementations.BusyLoopJob;
import be.ac.ua.comp.projectGPT.Jobs.implementations.FileCompareJob;
import be.ac.ua.comp.projectGPT.Jobs.implementations.SleepingJob;

/**
 *
 * @author Admin
 */
public class JobTest extends Test {

    public static void main(String[] args) {

        JobTest jobTest = new JobTest();
        jobTest.log("Testing file compare job");
        FileCompareJob fcj = new FileCompareJob("C:\\af6a8a456e5fda573f339f809ea7bff6","C:\\Acer");
        jobTest.log("Result: "+fcj.call());

        jobTest.log("Testing busy loop job");
        BusyLoopJob blj = new BusyLoopJob(20);
        blj.run();

        jobTest.log("Testing sleeping job");
        SleepingJob sj = new SleepingJob(2000);
        sj.run();
    }
}
